Q3RationalPoint4D_AffineComb
You can use theQ3RationalPoint4D_AffineComb
function to determine the rational four-dimensional point that is the affine combination of an array of points.
TQ3RationalPoint4D *Q3RationalPoint4D_AffineComb ( const TQ3RationalPoint4D *points4D, const float *weights, unsigned long nPoints, TQ3RationalPoint4D *result);
points4D
- A pointer to an array of rational four-dimensional points.
weights
- A pointer to an array of weights. The weights must sum to 1.0.
nPoints
- The number of points in the
points4D
array.result
- On exit, the point that is the affine combination of the points in
points4D
which have the weights in theweights
array.DESCRIPTION
TheQ3RationalPoint4D_AffineComb
function returns, as its function result and in theresult
parameter, the rational point that is the affine combination of the points in the arraypoints4D
which have the weights in the arrayweights
.